
<!doctype html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>By：DragonDean</title>
		<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
		
		
	</head>

	<body>
		<div class="main" style="margin:0 auto;width:230px;height:350px;border:1px solid;padding:5px;">
		</div>
		<script type="text/javascript" src="jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="upload.js"></script>
		<script type="text/javascript">
			$('div.main').previewUpload({
				//预览框的样色设置  
				'preview': {
					'margin': '0 auto',
					'border': '1px dashed',
					'width': 220, //必须int   
					'height': 250, //必须int  

				},
				//弹出框选择文件的类型  
				'url': 'test.php',
				'imgSize': 20000
			});
		</script>
	</body>

</html>


